package com.example.educational.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.ArrayList;

/**
 * 公告留言中的已收公告
 */
@Data
public class NoticeReceived extends Message {

    @TableField(value = "img_src")
    // 详细信息
    public String imgSrc;

    // 详细附件
    @TableField(value = "file_src")
    public ArrayList<Attachment> fileSrc;


    @Override
    public String toString() {
        return "NoticeReceived{" +
                "imgSrc='" + imgSrc + '\'' +
                ", fileSrc=" + fileSrc +
                ", name='" + name + '\'' +
                ", title='" + title + '\'' +
                ", category='" + category + '\'' +
                ", releaseDate='" + releaseDate + '\'' +
                '}';
    }
}
